﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;

namespace Manon.Core.Jwt.Dto
{
    public class JwtAuthorizationInput
    {
        /// <summary>
        /// 用户信息  Claim 
        /// </summary>
        public IDictionary<string, object> claims { get; set; }

        /// <summary>
        /// Jwt token 的签发者
        /// </summary>
        public string Issuer { get; set; } = string.Empty;

        /// <summary>
        /// Jwt token 的接收者
        /// </summary>
        public string Audience { get; set; } = string.Empty;

        /// <summary>
        /// 签名key验证
        /// </summary>
        public string SigningKey { get; set; } = string.Empty;

        /// <summary>
        /// 过期时间 分钟
        /// </summary>
        public int Expire { get; set; }

        ///// <summary>
        ///// 刷新Token
        ///// </summary>
        //public string RefreshToken { get; set; } = string.Empty;
    }
}
